Author: N.F.S Grundtvig (The members of this class inherits the author by default.)
How to write an example (ie not including from file).
How to write an example (ie not including from file).
Use:
\example \endexample
.
Inline formatted code in place
Examples are
always put into the "example" section, which is at the end of the generated documentation page for the entity. In case you want to inline
formatted code directly in in the documentation refer to
InlineFormattedCode.
This is how it looks in the source:
\example
void exampleFunction()
{
cout<<"This is an inlined example!\n";
}
\endexample
|